package com.hbnu.dataAccesss;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class AccessTest {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("DataAccess.xml");
        AccessService service = context.getBean(AccessService.class);
        service.transfer(500d);
    }

}

